package com.sys.basics.service;

import com.sys.basics.entity.SysRoleResourceLk;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;


/**
 * @author: ares
 * @date: 2021-10-20
 * @description: 角色资源关联表 服务类
 */
public interface SysRoleResourceLkService extends IService<SysRoleResourceLk> {

    int batchCreate(Long roleId, List<Long> resourceIds);

    int batchRemove(Long roleId, List<Long> resourceIds);

    List<SysRoleResourceLk> getLinkedResourceByRoleId(Long roleId);
}
